//
//  QZBmobTool.h
//  bmobTest(nopod)
//
//  Created by 000 on 16/11/16.
//  Copyright © 2016年 faner. All rights reserved.
//  封装好了 还没用

#import "BmobSDK/Bmob.h"

@interface QZBmobTool : Bmob

/**
 *  bmob 更新数据 仅限一人一值
 *
 *  @param className    类别
 *  @param Ascending    按照什么顺序
 *  @param loginUser    一般是本地缓存的用户名中的@"loginUser"
 *  @param userDefaults ［userDefaults1 objectForKey:@"detailSave"］
 *  @param setObject    要改变成的值
 *  @param updateKey    对哪个值改变
 */
+ (void)bmobWithQueryClassName:(NSString *)className orderByAscending:(NSString *)Ascending whereKey:(NSString *)loginUser equalTo:(id)userDefaults setObject:(NSString *)setObject updateKey:(NSString *)updateKey;
/**
 *  bmob 保存数据 该方法默认为6个 比6个少的 可以填nil
 *
 *  @param MyclassName    要保存的类名
 *  @param MyuserDefaults 可以为本地取出的用户名  [thirdObject setObject:[userDefaults1 objectForKey:@"detailSave"] forKey:@"loginUser"];
 
 *  @param loginUser      forKey:@"loginUser" 同上
 *  @param firObject      第一个参数值
 *  @param firKey         key值
 *          .               .
            .               .
            .               .
 *  @param sixObject      第六个
 *  @param sixKey         key值
 */
+ (void)bmobWithSetObjectClassName:(NSString *)MyclassName setObject:(id)MyuserDefaults forKey:(NSString *)loginUser setObjectFir:(id)firObject forKey:(NSString *)firKey setObjectSec:(id)secObject forKey:(NSString *)secKey setObjectThir:(id)thirObject forKey:(NSString *)ThirKey setObjectFour:(id)fourObject forKey:(NSString *)fourKey setObjectFive:(id)fiveObject forKey:(NSString *)fiveKey setObjectSix:(id)sixObject forKey:(NSString *)sixKey;

@end
